package com.zhy.learning.demo.domain;

@Job(value = "b")
public class B extends A {

    @Override
    public void beforeFly(String name) {
        System.out.println("This is B beforeFly, and param name is " + name);
    }

    @Override
    public void doFly(String name) {
        System.out.println("This is B doFly, and param name is " + name);
    }

    @Override
    protected String say() {
        return "saying B";
    }
}
